using B.S.RbacData.ErrorCode;
using ContentmanagementBase.Domain.Enums;
using ContentmanagementBaseRead.API.Dtos;
using MediatR;

namespace ContentmanagementBaseRead.API.Applications.Commands.Popularizations
{
    /// <summary>
    /// 获取疾病科普列表信息命令
    /// </summary>
    public class GetPopularizationListCommand : IRequest<ApiPaging<List<PopularizationListDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 疾病科普标题（搜索条件）
        /// </summary>
        public string? PopularScienceTitle { get; set; }

        /// <summary>
        /// 疾病类型（搜索条件）
        /// </summary>
        public string? DiseaseType { get; set; }

        /// <summary>
        /// 开始时间（搜索条件）
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间（搜索条件）
        /// </summary>
        public DateTime? EndTime { get; set; }





    }
} 